package com.zzx.project.service.impl;

import com.zzx.project.dao.BackDao;
import com.zzx.project.entity.Backinfo;
import com.zzx.project.service.BackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BackServiceImpl implements BackService { //后台Service实现类

    @Autowired
    BackDao backDao;

    @Override
    public Backinfo getBackInfo() {
        return backDao.getBackInfo();
    }

    @Override
    public int updateInfo(int uid) {
        return backDao.updateInfo(uid);
    }
}
